package chain;

/**
 * @Author shenhan
 * @Date: 2020/4/12 18:14
 * @Description:
 */
public abstract class Approver {
    // 下一个处理人
    Approver approver;
    String name;

    public Approver(String name) {
        this.name = name;
    }

    public void setApprover(Approver approver) {
        this.approver = approver;
    }

    abstract void processRequest(PurchaseRequest purchaseRequest);
}
